<template>
  <div :style="{ color: 'grenn', fontSize: '10px' }">你好世界！</div>
</template>

<script>
export default {
  data() {
    return {
      age: 18,
      arr: ["red", "small"],
    };
  },
};
</script>

<style>
div {
  width: 200px;
  height: 200px;
  background-color: blue;
  font-size: 30px;
}
.red {
  color: yellow;
}
.small {
  font-size: 80px;
}
</style>